import http from '@/common/interface'
//获取综治咨询师详情
export function getWorkerDet(data){
	return http.request({
		url: '/zzWorker/getWorkerDetail_noLj',
		method: 'get',
		data
	})
}
//获取擅长领域
export function getFields(data){
	return http.request({
		url: '/lyConfig/getSysLyConfigList',
		method: 'get',
		data
	})
}
//获取擅长人群
export function getPersons(data){
	return http.request({
		url: '/scCrowd/getScCrowdConfigList',
		method: 'get',
		data
	})
}
//获取咨询人list
export function getZxUserList(){
	return http.request({
		url: '/order/getZxUserList',
		method: 'get'
	})
}
//增加咨询人信息
export function addZxUser(data){
	return http.request({
		url: '/order/addZxUser',
		method: 'post',
		data
	})
}
//删除已添加咨询人
export function delZxr(data){
	return http.request({
		url: '/order/delZxUser',
		method: 'delete',
		data
	})
}
//获取咨询人信息
export function getZxrInfo(data){
	return http.request({
		url: '/order/getZxUser',
		method: 'get',
		data
	})
}
//获取班次
export function getZzZxsClassTime(data){
	return http.request({
		url: '/zzWorker/getZzZxsClassTimeList',
		method: 'get',
		data
	})
}
//点击具体某一天获取班次
export function getSpecZzClassTime(data){
	return http.request({
		url: '/zzWorker/getSpecZzClassTimeList',
		method: 'get',
		data
	})
}
//添加咨询订单
export function addZxOrder(data){
	return http.request({
		url: '/groupXlzx/orderZzXlzx',
		method: 'post',
		data
	})
}
//取消预约
export function cancelXlzx(data){
	return http.request({
		url: '/groupXlzx/cancelGroupXlzx',
		method: 'put',
		data
	})
}
//获取市级服务中心危机干预电话
export function getWjgyTel(data){
	return http.request({
		url: '/wjgy/getServiceCenterTel',
		method: 'get',
		data
	})
}